﻿namespace MQTTServer.Models
{
    /// <summary>
    /// 下发获取当前软件版本指令
    /// </summary>
    public class Versions
    {
        /// <summary>
        ///  获取软件版本
        /// </summary>
        public string @operator { get; set; }

        /// <summary>
        /// 消息 id,区分每一条消
        /// </summary>
        public string messageId { get; set; }

        /// <summary>
        ///  VersionsInfo
        /// </summary>
        public VersionsInfo info { get; set; }
    }

    public class VersionsInfo
    {
        /// <summary>
        ///  软件版本号
        /// </summary>
        public string? name;
    }
}